'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    ctx.body = 'hello world';
  }
	async list() {
		this.ctx.body = {
			msg: 'ok',
			data: [1,2,4,5]
		}
	}
}

module.exports = HomeController;
